package com.syh.jn.scm.domain.upstream.event;

import com.syh.core.ddd.domain.DomainEvent;
import com.syh.jn.scm.domain.upstream.entity.sale.UpSaleReturnOrder;

public class UpSaleReturnOrderEvent extends DomainEvent<UpSaleReturnOrder> {
    public static final String UP_SALERETURNORDER_DESTORY = "upSaleReturnOrderEventDestory";

    public static UpSaleReturnOrderEvent buildUpSaleReturnOrderDestory(Object[] values){
        UpSaleReturnOrderEvent upSaleReturnOrderEvent = new UpSaleReturnOrderEvent();
        upSaleReturnOrderEvent.eventName = UP_SALERETURNORDER_DESTORY;
        upSaleReturnOrderEvent.values = values;
        return upSaleReturnOrderEvent;
    }

    public static final String UP_SALERETURNORDER_STATE_DESTORY = "upSalePurchaseReturnOrderStateEventDestory";

    public static UpSaleReturnOrderEvent buildUpSaleReturnOrderStateDestory(Object[] values){
        UpSaleReturnOrderEvent upSaleReturnOrderEvent= new UpSaleReturnOrderEvent();
        upSaleReturnOrderEvent.eventName = UP_SALERETURNORDER_STATE_DESTORY;
        upSaleReturnOrderEvent.values = values;
        return upSaleReturnOrderEvent;
    }

    public static final String UP_SALERETURNORDER_REMOVE_STATE_DESTORY = "upSalePurchaseReturnOrderRemoveStateEventDestory";

    public static UpSaleReturnOrderEvent buildUpSaleReturnOrderRemoveStateDestory(Object[] values){
        UpSaleReturnOrderEvent upSaleReturnOrderEvent = new UpSaleReturnOrderEvent();
        upSaleReturnOrderEvent.eventName = UP_SALERETURNORDER_REMOVE_STATE_DESTORY;
        upSaleReturnOrderEvent.values = values;
        return upSaleReturnOrderEvent;
    }

    public static final String UP_SALERETURNORDER_CONFIRM_DESTORY = "upSalePurchaseReturnOrderConfirmEventDestory";

    public static UpSaleReturnOrderEvent buildUpSalePurchaseReturnOrderConfirmDestory(Object[] values){
        UpSaleReturnOrderEvent upSaleReturnOrderEvent = new UpSaleReturnOrderEvent();
        upSaleReturnOrderEvent.eventName = UP_SALERETURNORDER_CONFIRM_DESTORY;
        upSaleReturnOrderEvent.values = values;
        return upSaleReturnOrderEvent;
    }
}
